<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<! DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>在线选课系统-用户注册</title>
<link rel="stylesheet" href="${pageContext.request.contextPath }/css/register.css"></link>
</head>
<body>
	<div class="login">
    <img src="${ pageContext.request.contextPath }/images/registerBg.jpg" alt="">
    <div class="content-container">
      <div class="content">
        <div class="form">
          <h2>注册</h2>
          <h4>欢迎来到在线选课系统</h4>
          <div>
          	<form action="${pageContext.request.contextPath}/RegisterServlet" method="post">
     	        <input class="input" type="text" placeholder="请输入用户名" name="username"/>
     	        <input class="input" type="text" placeholder="请输入真实姓名" name="realname"/>
	            <input class="input" type="password" placeholder="请输入密码" name="password"/>
	            <input class="input" type="password" placeholder="请确认密码" name="checkPassword"/>
	            <div class="select input">
		            <select class="select" name="role">
		            	<option value="-1">请选择身份</option>
		            	<option value="0">学生</option>
		            	<option value="1">教师</option>
		            </select>
	            </div>
	            <div class="btns">
	            	<input type="submit" class="btn" />
	            	<input type="reset" class="btn" />
	            </div>
          	</form>
          </div>
        </div>
          <div class="text">
	          <a href="./login.jsp">返回登录</a>
        </div>
      </div>
    </div>
  </div>
</body>
</html>